package com.ossjk.oa.system.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Select;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.ossjk.oa.system.entity.Department;

/**
 * <p>
 * 部门表 Mapper 接口
 * </p>
 *
 * @author chair
 * @since 2019-01-30
 */
public interface DepartmentMapper extends BaseMapper<Department> {

	Department selectByEid(String eid);
	
	@Select("select distinct did,dname from  v_emp2dept")
	List<Map<String, String>> selectVo( );

}
